import axios from '@/libs/api.request'
// 查询手册列表
export function queryEmlList (data) {
    return axios.request({
        url: '/customs/eml/list',
        method: 'post',
        data
    })
}
// 查询详情
export function getEml (emlId) {
    return axios.request({
        url: '/customs/eml/detail',
        method: 'get',
        params: {
            emlId
        }
    })
}
// 申报
export function declareEml (emlIds) {
    return axios.request({
        url: '/customs/eml/declare',
        method: 'get',
        params: {
            emlIds
        }
    })
}

// 删除
export function delEml (emlIds) {
    return axios.request({
        url: '/customs/eml/delete',
        method: 'get',
        params: {
            emlIds
        }
    })
}
// 新增
export function updateEml (data) {
    return axios.request({
        url: '/customs/eml/update',
        method: 'post',
        data
    })
}
